/**
 * Processes the primary-input, auxiliary-input, result-output, and report-output 
 * files
 * 
 * @author Dragon Slayer
 */
public class lab1 {

	/**
	 * any javadoc???
	 */
	public static void main(String[] args) {
		
		FileSet files;
		try{
			files = new Lab1FileSet(args);//throws exception in constructor if there are an inappropriate number of args		
			if(files.checkFiles()){//if the files are read/writeable, process them
				files.processFiles();
			}
		} catch (IllegalArgumentException e){
			System.err.print("Usage: lab1 primary-input auxiliary-input result-output report-output");
		}		
	}
}